common/board_f.c: Enable IMX watchdog in init_func_watchdog_init()
authorStefan Roese <[email protected]>
Tue, 10 Mar 2015 07:04:36 +0000 (08:04 +0100)
committerStefano Babic <[email protected]>
Fri, 13 Mar 2015 12:31:56 +0000 (13:31 +0100)
commit14a380a8f3059a8e66446d0462a39978946c564c
treea7e8490187630e10d35e990ef511a0c29fa8ba03
parent9d16c52f62a4cd017ac3530002ccc8ea9ffde58f
common/board_f.c: Enable IMX watchdog in init_func_watchdog_init()

Without this patch, the IMX watchdog will not be initialized. And therefor
not active. This patch fixes this by calling hw_watchdog_init() also when
CONFIG_IMX_WATCHDOG is defined.

Signed-off-by: Stefan Roese <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Heiko Schocher <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
common/board_f.c